package com.czk.springcloud.fallBackClass;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.czk.springcloud.entity.CommonResult;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/5/13 12:01
 */
public class BlockHandlerClass {
    public static CommonResult handlerException(BlockException blockException) {
        return new CommonResult(444, "按客户自定义的限流=====1");
    }
    public static CommonResult handlerException2() {
        return new CommonResult(444, "按客户自定义的限流======2");
    }
}
